const BASE_URL = 'api/comment'

export function fetchComment($http, account) {
    return $http.get(BASE_URL, {
        params: { account },
    })
}

export function addComment($http, query) {
    return $http.post(`${BASE_URL}/add`, query)
}
